const store = {
	namespaced: true,
	state: () => ({
		pushId: null
	}),
	getters: {
		getPushId(state){
			return state.pushId;
		}
	},
	mutations: {
		setPushId(state, pushId) {
			state.pushId = pushId;
		}
	},
	actions: {
		async setPushId({dispatch, commit, state}, {pushId}) {
			return await new Promise((resolve, reject) => {
				commit('setPushId', pushId);
			})
		}
	}
}

export default store;
